using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;

namespace FU.Capstones.IMS.Services.Common.DataContracts
{
    [DataContract(Namespace = InventoryConstants.ServiceNamespace)]
    public class Order
    {
        [DataMember]
        public int? OrderID { get; set; }

        [DataMember]
        public int? WarehouseID { get; set; }

        [DataMember]
        public string OrderCode { get; set; }

        [DataMember]
        public DateTime? OrderDate { get; set; }

        [DataMember]
        public DateTime? DeliveryDate { get; set; }

        [DataMember]
        public Employee EmployeeA { get; set; }

        [DataMember]
        public Employee EmployeeB { get; set; }

        [DataMember]
        public Contact Contact { get; set; }

        [DataMember]
        public ObservableCollection<Product> ProductCollection { get; set; }

        [DataMember]
        public ObservableCollection<Material> MaterialCollection { get; set; }

        [DataMember]
        public bool? IsImported { get; set; }

        [DataMember]
        public bool? IsDeleted { get; set; }

        [DataMember]
        public bool? IsMaterial { get; set; }

    }
}
